﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

/// <summary>
/// 作业专业
/// </summary>
[Table("QHSE_XY_KEY_WORK_SPECIALTY")]
public class QHSESysKeyWorkSpecialty : EntityBase
{
    public QHSESysKeyWorkSpecialty()
    {
    }

    /// <summary>
    /// ID
    /// </summary>
    [Column("KEY_WORK_SPECIALTY_ID")]
    [MaxLength(32)]
    [Key]
    public string Id { get; set; }


    /// <summary>
    /// 作业专业编码
    /// </summary>
    [Column("SPECIALTY_CODE")]
    [MaxLength(32)]
    public string? SpecialtyCode { get; set; }
    /// <summary>
    /// 作业专业
    /// </summary>
    [Column("SPECIALTY")]
    [MaxLength(100)]
    public string? Specialty { get; set; }
    /// <summary>
    /// 排序号
    /// </summary>
    [Column("ORDER_NO")]
    public int? OrderNo { get; set; }
}
